//
//  DataBaseHandle.h
//  Journey
//
//  Created by dllo on 16/5/28.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "FMDB.h"

#import "HotModel.h"

@interface DataBaseHandle : NSObject

+(DataBaseHandle *)shareDataBaseHandle;
-(void)hotOpenDB;
-(void)hotCreatTable;
-(void)insertHot:(HotModel *)hot withUserName:(NSString *)userName;
-(void)hotDeleteTable:(NSString *)title;
-(NSMutableArray *)selectHot:(NSString *)userName withCompare:(BOOL)compare;

@end
